<template>
    <s-appbar>
        <!--左侧菜单按钮-->
        <s-icon-button slot="navigation" @click="router.go(-1)">
            <s-icon>
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960">
                    <path d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"></path>
                </svg>
            </s-icon>
        </s-icon-button>
    </s-appbar>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
</script>